package top.zhangjianyong.tools.service.mybatis;

import com.baomidou.mybatisplus.extension.service.IService;
import top.zhangjianyong.tools.entity.Area;

import java.util.List;

/**
 * @author zhangjianyong
 * @since 2024/9/29 上午10:58
 */
public interface IAreaService extends IService<Area> {
    List<Area> listByCode(List<String> areas);

    List<Area> listByPcode(Long code);

    List<Area> listByPrefix(List<String> prefix);

    Area getByCode(String code);

    List<Area> listByLevel(int level);
}
